

    <div id="container">

        <div id="sidebar">
            <div class="mainNavs">





                <?php foreach($position_type_arr as $kk=>$vv){?>
                <div class="menu_box">


                    <div class="menu_main">
                        <h2><?=$vv['position_type_name']?><span></span></h2>
                    </div>

                    <div class="menu_sub dn">

                        <dl class="reset">
                            <dd>
                        <?php foreach($vv['position_arr'] as $k=>$v){?>
<!--                                <a href="h/jobs/list_%E6%8A%80%E6%9C%AF%E7%BB%8F%E7%90%86?labelWords=label" class="curr">技术经理</a>-->
                                <a href="?r=index/index&position_type_id=<?=$v['position_type_id']?>" class="curr"><?=$v['position_name']?></a>
                        <?php } ?>
                            </dd>
                        </dl>

                    </div>
                </div>
                <?php } ?>

            </div>



<!--            <a class="subscribe" href="subscribe.html" target="_blank">订阅职位</a>-->
        </div>



        <div class="content">



            <div id="search_box">
                <form id="" name="searchForm"  method="get">
                    <ul id="searchType">
                        <li data-searchtype="1" class="type_selected">职位</li>
                        <li data-searchtype="4">公司</li>
                    </ul>
                    <div class="searchtype_arrow"></div>
            <input type="text" id="search_input" name = "kd"  tabindex="1" value="<?=$kd?>"  placeholder="请输入职位名称，如：产品经理"  />
                    <input type="hidden" name="spc" id="spcInput" value="1"/>
<!--                    <input type="hidden" name="pl" id="plInput" value=""/>-->
<!--                    <input type="hidden" name="gj" id="gjInput" value=""/>-->
<!--                    <input type="hidden" name="xl" id="xlInput" value=""/>-->
<!--                    <input type="hidden" name="yx" id="yxInput" value=""/>-->
<!--                    <input type="hidden" name="gx" id="gxInput" value="" />-->
<!--                    <input type="hidden" name="st" id="stInput" value="" />-->
<!--                    <input type="hidden" name="labelWords" id="labelWords" value="" />-->
<!--                    <input type="hidden" name="lc" id="lc" value="" />-->
<!--                    <input type="hidden" name="workAddress" id="workAddress" value=""/>-->
<!--                    <input type="hidden" name="city" id="cityInput" value=""/>-->
                    <input type="submit" id="search_button" value="搜索" />

                </form>
            </div>




            <style>
                .ui-autocomplete{width:488px;background:#fafafa !important;position: relative;z-index:10;border: 2px solid #91cebe;}
                .ui-autocomplete-category{font-size:16px;color:#999;width:50px;position: absolute;z-index:11; right: 0px;/*top: 6px; */text-align:center;border-top: 1px dashed #e5e5e5;padding:5px 0;}
                .ui-menu-item{ *width:439px;vertical-align: middle;position: relative;margin: 0px;margin-right: 50px !important;background:#fff;border-right: 1px dashed #ededed;}
                .ui-menu-item a{display:block;overflow:hidden;}
            </style>
            <script type="text/javascript" src="style/js/search.min.js"></script>
            <dl class="hotSearch">

                <dt>地区搜索：</dt>
                <?php foreach($area as $key => $val){?>
                <dd><span class="area" id="<?= $val['area_id'];?>"><?= $val['area_name']?></span></dd>
                <?php }?>
            </dl>
<!--            地区展示  -->
            <div id="two_search">

            </div><!--/#main_banner-->
<!--            地区展示  -->






<!---->
            <ul class=" hotabbing">
                <li class="current">所有职位</li>
<!--                <li>最新职位</li>-->
            </ul>


<!--            所有 职位  -->
            <div id="hotList">

                <ul class="hot_pos reset">


                    <?php foreach( $recruit_arr as $k=>$v){?>

                        <?php if( !count($recruit_arr) ){ ?>
                                <div class="content_l" style="width: 100%">
                                    <dl class="job_detail">
                                        <dt>
                                            <h1>没有相关数据...换个条件试试</h1>
                                    </dl>
                                </div>
                       <?php } ?>


                    <?php foreach( $v as $kk=>$vv ){?>


                    <li class="<?php if($k %3 == 0){echo'odd';}?> clearfix">
                        <div class="hot_pos_l">
                            <div class="mb10">
                                <a href="?r=index/show&recruit_id=<?=$vv->recruit_id?>" target="_blank"><?=$vv->position_name?></a>
                                &nbsp;
                                <span class="c9">[<?=$vv->work_area?>]</span>
                            </div>
                            <span><em class="c7">薪资： </em><?=$vv->recruit_money?> / 天</span>
                            <br />
                            <span><em class="c7">工作时间：</em><?=$vv->recruit_time?></span>
                            <br />
                            <span><font color="red"><?= date("Y-m-d", $vv->time)?> </font>发布</span>
                            <!-- <a  class="wb">分享到微博</a> -->
                        </div>
                        <div class="hot_pos_r">
                            <div class="apply">
                                <a target="_blank" href="?r=index/show&recruit_id=<?=$vv->recruit_id?>">投个简历</a>
                            </div><br>
<!--                            <div class="mb10 recompany"><a href="h/c/5232.html" target="_blank">&nbsp;</a></div>-->
                            <span><em class="c7">工作地点：</em> <?=$vv->work_area?></span>
                            <br />
                            <span><em class="c7">类型：</em> <?=$vv->position_type_id?></span>
                            <span><em class="c7">招聘人数：</em> <?=$vv->recruit_people?>人</span><br>
                            <span><em class="c7">结算方式：</em> 月结</span>

<!--                            <ul class="companyTags reset">-->
<!--                                <li>五险一金</li>-->
<!--                                <li>福利好</li>-->
<!--                                <li>商业险</li>-->
<!--                            </ul>-->

                        </div>
                    </li>
                    <?php } ?>
                    <?php } ?>


                </ul>

            </div>





            <div class="clear"></div>
            <div id="linkbox">
                <dl>
                    <dt>友情链接</dt>
                    <dd>
                        <a href="http://www.zhuqu.com/" target="_blank">住趣家居网</a> <span>|</span>
                        <a href="http://www.woshipm.com/" target="_blank">人人都是产品经理</a> <span>|</span>
                        <a href="http://zaodula.com/" target="_blank">互联网er的早读课</a> <span>|</span>
                        <a href="http://lieyunwang.com/" target="_blank">猎云网</a> <span>|</span>
                        <a href="http://www.ucloud.cn/" target="_blank">UCloud</a> <span>|</span>
                        <a href="http://www.iconfans.com/" target="_blank">iconfans</a>  <span>|</span>
                        <a href="http://www.html5dw.com/" target="_blank">html5梦工厂</a>   <span>|</span>
                        <a href="http://www.sykong.com/" target="_blank">手游那点事</a>

                        <a href="http://www.mycodes.net/" target="_blank">源码之家</a> <span>|</span>
                        <a href="http://www.uehtml.com/" target="_blank">uehtml</a> <span>|</span>
                        <a href="http://www.w3cplus.com/" target="_blank">W3CPlus</a> <span>|</span>
                        <a href="http://www.boxui.com/" target="_blank">盒子UI</a> <span>|</span>
                        <a href="http://www.uimaker.com/" target="_blank">uimaker</a> <span>|</span>
                        <a href="http://www.yixieshi.com/" target="_blank">互联网的一些事</a> <span>|</span>
                        <a href="http://www.chuanke.com/" target="_blank">传课网</a> <span>|</span>
                        <a href="http://www.eoe.cn/" target="_blank">安卓开发</a> <span>|</span>
                        <a href="http://www.eoeandroid.com/" target="_blank">安卓开发论坛</a>
                        <a href="http://hao.360.cn/" target="_blank" >360安全网址导航</a> <span>|</span>
                        <a href="http://se.360.cn/" target="_blank" >360安全浏览器</a> <span>|</span>
                        <a href="http://www.hao123.com/" target="_blank" >hao123上网导航</a> <span>|</span>
                        <a href="http://www.ycpai.com" target="_blank" >互联网创业</a><span>|</span>
                        <a href="http://www.zhongchou.cn" target="_blank" >众筹网</a><span>|</span>
                        <a href="http://www.marklol.com/" target="_blank" >马克互联网</a><span>|</span>
                        <a href="http://www.chaohuhr.com/" target="_blank" >巢湖英才网</a>

                        <a href="http://www.zhubajie.com/" target="_blank" >创意服务外包</a><span>|</span>
                        <a href="http://www.thinkphp.cn/" target="_blank" >thinkphp</a><span>|</span>
                        <a href="http://www.chuangxinpai.com/" target="_blank" >创新派</a><span>|</span>

                        <a href="http://w3cshare.com/" target="_blank" >W3Cshare</a><span>|</span>
                        <a href="http://www.518lunwen.cn/" target="_blank" >论文发表网</a><span>|</span>
                        <a href="http://www.199it.com" target="_blank" >199it</a><span>|</span>

                        <a href="http://www.shichangbu.com" target="_blank" >市场部网</a><span>|</span>
                        <a href="http://www.meitu.com/" target="_blank" >美图公司</a><span>|</span>
                        <a href="https://www.teambition.com/" target="_blank" >Teambition</a>
                        <a href="http://oupeng.com/" target="_blank" >欧朋浏览器</a><span>|</span>
                        <a href="http://iwebad.com/" target="_blank">网络广告人社区</a>
                        <a href="h/af/flink.html" target="_blank" class="more">更多</a>
                    </dd>
                </dl>
            </div>
        </div>
        <input type="hidden" value="" name="userid" id="userid" />
        <!-- <div id="qrSide"><a></a></div> -->
        <!--  -->

        <!-- <div id="loginToolBar">
            <div>
                <em></em>
                <img src="style/images/footbar_logo.png" width="138" height="45" />
                <span class="companycount"></span>
                <span class="positioncount"></span>
                <a href="#loginPop" class="bar_login inline" title="登录"><i></i></a>
                <div class="right">
                    <a href="register.html?from=index_footerbar" onclick="_hmt.push(['_trackEvent', 'button', 'click', 'register'])" class="bar_register" id="bar_register" target="_blank"><i></i></a>
                </div>
                <input type="hidden" id="cc" value="16002" />
                <input type="hidden" id="cp" value="96531" />
            </div>
        </div>
         -->
        <!-------------------------------------弹窗lightbox  ----------------------------------------->
        <div style="display:none;">
            <!-- 登录框 -->
            <div id="loginPop" class="popup" style="height:240px;">
                <form id="loginForm">
                    <input type="text" id="email" name="email" tabindex="1" placeholder="请输入登录邮箱地址" />
                    <input type="password" id="password" name="password" tabindex="2" placeholder="请输入密码" />
                    <span class="error" style="display:none;" id="beError"></span>
                    <label class="fl" for="remember"><input type="checkbox" id="remember" value="" checked="checked" name="autoLogin" /> 记住我</label>
                    <a href="h/reset.html" class="fr">忘记密码？</a>
                    <input type="submit" id="submitLogin" value="登 &nbsp; &nbsp; 录" />
                </form>
                <div class="login_right">
                    <div>还没有拉勾帐号？</div>
                    <a href="register.html" class="registor_now">立即注册</a>
                    <div class="login_others">使用以下帐号直接登录:</div>
                    <a href="h/ologin/auth/sina.html" target="_blank" id="icon_wb" class="icon_wb" title="使用新浪微博帐号登录"></a>
                    <a href="h/ologin/auth/qq.html" class="icon_qq" id="icon_qq" target="_blank" title="使用腾讯QQ帐号登录" ></a>
                </div>
            </div><!--/#loginPop-->
        </div>
        <!------------------------------------- end ----------------------------------------->
        <script type="text/javascript" src="style/js/Chart.min.js"></script>
        <script type="text/javascript" src="style/js/home.min.js"></script>
        <script type="text/javascript" src="style/js/count.js"></script>
        <div class="clear"></div>
        <input type="hidden" id="resubmitToken" value="" />
        <a id="backtop" title="回到顶部" rel="nofollow"></a>
    </div><!-- end #container -->
</div><!-- end #body -->

<script>
    $(function(){

        var area_status = 1;
        $('.area').click(function(){
            if(area_status)
            {
                var id = $(this).attr('id');
                var area_one = $(this).html();
//                area_status=0;
                $.ajax({
                    url:'http://www.project.com/index.php?r=index/areasearch',
                    data:'id='+id,
                    dataType:'json',
                    success:function(data){
                        if(data.error==1)
                        {
                            var str ='<a class="two_city" href="?r=index/index&city='+area_one+'">'+area_one+'　　</a>';
                            $.each(data.msg,function(k,v){
                                str+='<a class="two_city" href="?r=index/index&city='+v.area_name+'">'+v.area_name+'　　</a>';
                                if(k+1%5==0)
                                {
                                str+='　<br/>';
                                }
                            });
                            $('#two_search').html(str);
                        }else
                        {
                            alert(data.msg);
                        }
                    }
                })
            }
        })
    })
</script>
